using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using RetailAnalytic.Core;

namespace RetailAnalytic.Shell
{
    public partial class FrmAbout : frmTemplate
    {
        public FrmAbout()
        {
            InitializeComponent();
            ulBuild.Text += GRetailAnalytic.Instance.VersionBuild;
            this.ulVer.Text += GRetailAnalytic.Instance.Version;
            this.ulverDesc.Text = GRetailAnalytic.Instance.VersionDesciption;
            this.ulVR.Text = GRetailAnalytic.Instance.VersionMinorRelease;
            SetGuiData();
        }
        public void SetGuiData()
        {
            this.ultraListView1.Items["Adhook"].Appearance.Image = SR.ImagesLibrary.GetImageByName("adhook1");
            this.ultraListView1.Items["KPI"].Appearance.Image = SR.ImagesLibrary.GetImageByName("kpi");
            this.ultraListView1.Items["DM"].Appearance.Image = SR.ImagesLibrary.GetImageByName("dm");
            this.ultraListView1.Items["Map"].Appearance.Image = SR.ImagesLibrary.GetImageByName("map");
            this.ultraListView1.Items["ReportingServices"].Appearance.Image = SR.ImagesLibrary.GetImageByName("RS_16");
        }
        private void ultraButton2_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}